Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods


ODBinding

Superclasses
ODObject
Subclasses
none

An object of the ODBinding class represents the OpenDoc binding object that performs the runtime binding of part editors to the parts in a document.

Description

When a document is opened, the session object creates a single binding object. All parts of that document share the binding object; the document shell or a container application can obtain a reference to it by calling the session object's GetBinding method (page 606).

OpenDoc binds part editors to part data when a part is read in or when its part editor is changed. The binding object gathers information provided by the installed part editors, preferences specified by the user, and part-kind information stored with parts. It uses that information to choose an editor for each part in the document. For more information about binding, see the chapter on OpenDoc runtime features in the OpenDoc Programmer's Guide for the MacOS.

Methods

This section presents a summary description of the ODBinding method, followed by a detailed description.

ChooseEditorForPart
Chooses the editor to be used to edit the specified part.

Methods
ChooseEditorForPart

Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help